package model.bo;

import java.util.ArrayList;

import model.bean.Chat;
import model.dao.BlogDao;

public class DiscussBO {
	BlogDao blogDao = new  BlogDao();
	public boolean InsertChat(String userName,String comment){
		return blogDao.InsertChat(userName, comment);
	}
	public ArrayList<Chat> getChat() {
		return blogDao.getChat();
	}
	public boolean DeleteChat(int chatId){
		return blogDao.DeleteChat(chatId);
	}
}
